
@import url('https://fonts.googleapis.com/css2?family=Amiri&display=swap');

* {
    box-sizing: border-box;
}

.right-panel-active .form-container{
    height: 85%;
}

body{
    margin:0;
    padding:0;
    left:0;
    top:0;
    right:0;
    bottom:0;
    text-align: center;
}

html, body { height : 100%; }

body {
    font-family: 'Amiri', serif;
    background: var(--color-bg );
    color: var(--color-black);
    line-height: 1.7;
    background-color: white;
    padding: 0;
    margin: 0;
}

.container {
    width: var(--container-width-lg);
    margin: 0 auto;

}

h1,h2,h3,h4,h5{
    font-weight: 500;
}

h1{
    font-size: 2.5rem;
}

section {
    margin-top: 8rem;
}

.centerIndex {
    margin-top: -15%;
}

section > h2, section > h5 {
    text-align: center;
    color: var(--color-light);
}

section > h2 {
    color: var(--color-primary);
    margin-bottom: 3rem;
}

.text-light {
    color: var(--color-light);
}

a {
    color: var(--color-primary);
    transition: var(--transition);
}

a:hover {
    color : var(--color-black);
}

button:hover{
    background: #c8ad7f;
}


.btn {
    width: max-content;
    display: inline-block;
    color : #5e6ab0 ;
    padding: 0.75rem 1.2rem;
    border-radius: 0.4rem;
    cursor: pointer;
    border: 1px solid var(--color-primary);
    transition: var(--transition);
}

.btn:hover {
    background: var(--color-black);
    color: var(--color-bg);
    border-color: transparent;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-bg);
}


.text-center {
    text-align: center!important;
}


.p-5custom {
    padding-bottom: 3rem;

}
.mt-4, .my-4 {
    margin-top: 1.5rem!important;
}

.bg-dark {
    background-color: #343a40!important;
}

.p-3 {
    padding: 1rem!important;
}



.retour {
    margin-top: 50px;
}

h1 {
    font-weight: bold;
    text-align: center;
    margin: 0;
}

h2 {
    text-align: center;
}

.underlined{
    height: 100%;
}

form p {
    font-size: 14px;
    font-weight: 100;
    line-height: 20px;
    letter-spacing: 0.5px;
}

span {
    font-size: 12px;
}

a {
    color: #333;
    font-size: 14px;
    text-decoration: none;
    margin: 15px 0;
}


button {
    border-radius: 20px;
    border: 1px solid #c8ad7f;
    background-color: #c8ad7f;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: bold;
    padding: 12px 45px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: transform 80ms ease-in;
}



button:active {
    transform: scale(0.95);
}

button:focus {
    outline: none;
}

button.ghost {
    background-color: transparent;
    border-color: #FFFFFF;
}

form {

    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 50px;
    height: 100%;
    text-align: center;
}

input {
    font-size: 1.2rem;
    background-color: #eee;
    border: none;
    padding: 12px 15px;
    margin: 8px 0;
    width: 100%;
}

.container {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 14px 28px rgba(0,0,0,0.25),
    0 10px 10px rgba(0,0,0,0.22);
    position: relative;
    overflow: hidden;
    width: 900px;
    max-width: 100%;
    min-height: 800px;
}


.form-container {
    position: absolute;
    top: 0;
    height: 55%;
    transition: all 0.6s ease-in-out;
}

.form-containerM {
    margin-top: 25%;
    height: 100%;
    transition: all 0.6s ease-in-out;
}

.sign-in-container {
    left: 0;
    width: 50%;
    z-index: 2;
}
.sign-in-containerM {
    z-index: 2;
}

.container.right-panel-active .sign-in-container {
    transform: translateX(100%);
}

.sign-up-container {
    left: 0;
    width: 50%;
    opacity: 0;
    z-index: 1;
}

.container.right-panel-active .sign-up-container {
    transform: translateX(100%);
    opacity: 1;
    z-index: 5;
    animation: show 0.6s;
}

@keyframes show {
    0%, 49.99% {
        opacity: 0;
        z-index: 1;
    }

    50%, 100% {
        opacity: 1;
        z-index: 5;
    }
}

/* Adapts a floating label for use with a left-handed input group icon */
.form-floating > .bi-calendar-date + .datepicker_input + label {
    padding-left: 3.5rem;
    z-index: 3;
}

.navi a {
    font-size: 1.7rem;
}

.overlay-container {
    position: absolute;
    top: 0;
    left: 50%;
    width: 50%;
    height: 100%;
    overflow: hidden;
    transition: transform 0.6s ease-in-out;
    z-index: 100;
}

.container.right-panel-active .overlay-container{
    transform: translateX(-100%);
}
.bouton {
    border-radius: 20px;
    border: 1px solid #2a2d65 ;
    background-color: #2a2d65 ;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: bold;
    padding: 12px 45px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: transform 80ms ease-in;
    margin-top: 10%;
}

.bouton:hover {
    border: 1px solid black;
    background-color: black;
    color: #FFFFFF;

    transition: 0.7s;
}

.overlay {
    background: #2a2d65 ;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 0 0;
    color: #FFFFFF;
    position: relative;
    left: -100%;
    height: 100%;
    width: 200%;
    transform: translateX(0);
    transition: transform 0.6s ease-in-out;
}

.container.right-panel-active .overlay {
    transform: translateX(50%);
}

.overlay-panel {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 40px;
    text-align: center;
    top: 0;
    height: 100%;
    width: 50%;
    transform: translateX(0);
    transition: transform 0.6s ease-in-out;
}

.overlay-left {
    transform: translateX(-20%);
}

.container.right-panel-active .overlay-left {
    transform: translateX(0);
}

.overlay-right {
    right: 0;
    transform: translateX(0);
}

.container.right-panel-active .overlay-right {
    transform: translateX(20%);
}

.social-container {
    margin: 20px 0;
}

.social-container a {
    border: 1px solid #DDDDDD;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin: 0 5px;
    height: 40px;
    width: 40px;
}
.forgotMDP{
    color: blue;
    text-decoration: underline;
}

.mainS{
    padding-top: 10%;
}

button{
    cursor: pointer;
}
#button{
    cursor: pointer;
}


footer {
    background: linear-gradient(to top, #2a2d65 0%, #fff 95%);
    font-size: .9rem;
    margin-top: 7rem;
    text-align: center;color: white;
    width: 100%;

}

small {
    color: white;
    font-size: 14px;
}



footer a {
    color: white;
}

.footer__logo {
    display: inline-block;
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 2rem;
    color: black;
}

footer a:hover {
    color: #007bff;
    transition: 0.7s;
    text-decoration: none;
    transition: 0.7s;
    transform: scale(1.1);

}
.footer__copyright {
    color: black;
}
.permalinks {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin: 0 auto 3rem;
}

* {
    margin: 0;
    padding: 0;
    outline: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
    text-align: center;
}

nav h1{
    font-size: 2.5rem;
}

.close {
    float: right;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: .5;
}


/* === MediaQuery (Small Devices)=== */
@media (max-width: 600px) {





    .forgotMDP {
        font-size: 1.05rem;
    }
    .ghost{
        font-size: .9rem;
    }
    * {
        box-sizing: border-box;
    }
    .mainS{
        padding-top: 20%;
    }

    .navi a{
        font-size: 1.5rem;
    }
    /* passer body (et tous les éléments de largeur fixe) en largeur automatique */

    body {
        width: auto;
        margin: 0;
        padding: 0;
    }

    /* fixer une largeur maximale de 100% aux éléments potentiellement problématiques */

    img,
    table,
    td,
    blockquote,
    code,
    pre,
    textarea,
    input,
    iframe,
    object,
    embed,
    video {
        max-width: 100%;
    }

    /* conserver le ratio des images */

    img {
        height: auto;
    }

    /* gestion des mots longs */

    textarea,
    table,
    td,
    th,
    code,
    pre,
    samp {
        -webkit-hyphens: auto; /* césure propre */
        -moz-hyphens: auto;
        hyphens: auto;
        word-wrap: break-word; /* passage à la ligne forcé */
    }

    code,
    pre,
    samp {
        white-space: pre-wrap; /* passage à la ligne spécifique pour les éléments à châsse fixe */
    }

    /* Passer à une seule colonne (à appliquer aux éléments multi-colonnes) */

    .element1,
    .element2 {
        float: none;
        width: auto;
    }

    /* masquer/afficher les éléments  */

    .u-mobile {          display: block;          display: revert !important; /* affichage des éléments */        }        .u-no-mobile {          display: none !important; /* masquage des éléments */        }

    /* Un message personnalisé */

    body:before {
        content: "Version mobile du site";
        display: block;
        text-align: center;
        font-style: italic;
        color:
                #777;
    }
}